#!/bin/bash
pid=`ps aux | egrep 'java -jar emotion_extractor' | egrep -v 'grep' | awk '{print $2}'`
echo "Killing $pid"
kill -9 $pid
sleep 5
pid=`ps aux | egrep 'java -jar emotion_extractor' | egrep -v 'grep' | awk '{print $2}'`
echo $pid
